package com.food.dao.service;

import java.util.List;

import com.food.dao.OrderDAOJdbc;
import com.food.dao.in.OrderDAO;
import com.food.model.Order;

public class OrderService {
	OrderDAO dao = new OrderDAOJdbc();
	public void insertOrder (Order bean){
		dao.insertOrder(bean);
	}
	
	public void deleteOrder (Order bean){
		dao.deleteOrder(bean.getOid());
	}
	
	public List< Order > findOrderByMb(Order bean){
		return dao.findOrderByMb(bean.getMymbid());
		
	}
}
